package com.xidian.zhiancloud.model;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 应急演练计划
 */
@Data
@TableName("t_emergency_drill_plan")
public class EmergencyDrillPlan {
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 公司id
     */
    private Long companyId;

    /**
     * 应急演练计划名称
     */
    @Excel(name = "应急演练计划名称", orderNum = "1", needMerge = true)
    private String name;

    /**
     * 演练预案名称id
     */
    private Long nameRId;

    /**
     * 应急预案类型
     */
    private Integer typeRId;

    /**
     * 应急演练类型
     */
    private Byte typeId;

    /**
     * 组织单位/部门id
     */
    private Long organizationId;

    /**
     * 演练时间
     */
    @Excel(name = "演练开始时间", orderNum = "5", needMerge = true, format = "yyyy-mm-dd")
    private Date startTime;
    /**
     * 结束时间
     */
    @Excel(name = "演练结束时间", orderNum = "6", needMerge = true, format = "yyyy-mm-dd")
    private Date endTime;

    /**
     * 演练地点
     */
    @Excel(name = "演练地点", orderNum = "7", needMerge = true)
    private String locale;

    /**
     * 路线图附件url，多个url用逗号分割
     */
    private String roadMap;

    /**
     * 状态，0启动，1结束
     */
    private Integer status;

    private Long creatorId;
    private Date createTime;
}